package org.onion.pattern.sample.order.doamin.pay;

import java.util.Optional;

public interface PayRepository {

    void saveOrder(PayOrder payOrder);

    Optional<PayOrder> getById(PayOrderId id);
}
